import React from 'react';
import {HeaderCenterStyle} from "./style";
import IconSearchBar from "@/assets/svg/icon-search-bar";

const HeaderCenter = () => {
    return (
        <HeaderCenterStyle>
            <div className='search-bar'>
                <div className='text'>
                    <textarea rows='1' placeholder='搜索房源和体验'/>
                </div>
                <div className='icon'>
                    <IconSearchBar/>
                </div>
            </div>
        </HeaderCenterStyle>
    );
};

export default HeaderCenter;